<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>菜鸟教程(runoob.com)</title>
<style>
body
{
	background-color: yellow;
}
h1
{
	color:orange;
	text-align:center;
}
p
{
	font-family:"Times New Roman";
	font-size:20px;
}
div
{
     background-color:red;
     width: 200px;
     height: 200px;
     display:table-cell;
     vertical-align:middle;
     text-align: center;
     
}
div div{
    background-color: blue;
    width: 100px;
    height: 100px;
    display:inline-block;
}
</style>
</head>

<body>
 <div>
     <div></div>
 </div>
<h1>CSS 实例!</h1>
<p>这是一个段落。</p>

</body>
</html>
